Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ELF package correlations #3151

Merged
merged 1 commit into from
Aug 26, 2024
Merged

Fix ELF package correlations #3151

merged 1 commit into from
Aug 26, 2024

Conversation

wagoodman
Copy link
Contributor

We support a feature where binaries with ELF package notes can be correlated with other packages based on dynamic library requirements on the binary and file ownership information for other system packages. The result is that binaries that have ELF notes "magically" are associated via dependency relationships to RPM/Deb/etc packages that represent the dynamic libraries that the binary uses.

This functionality is currently not working ever since we switched the package type on these ELF packages from BinaryPkg to the type that the package claims (e.g. RpmPkg). This PR addresses this issue by considering all packages based on the package metadata and not the package type (since an ELF package can be any type).

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@wagoodman wagoodman added the bug Something isn't working label Aug 21, 2024
@wagoodman wagoodman requested a review from a team August 21, 2024 18:56
@wagoodman wagoodman self-assigned this Aug 21, 2024
@wagoodman wagoodman merged commit b6b5c8e into main Aug 26, 2024
11 checks passed
@wagoodman wagoodman deleted the fix-elf-correlations branch August 26, 2024 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants